save input values in python